﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dpdw.Structure.CompositePattern
{
    public class Waitress
    {
        MenuComponent allMenus;

        public Waitress(MenuComponent menus)
        {
            this.allMenus = menus;             
        }

        public void PrintMenu()
        {
            this.allMenus.Print();
        }
    }
}
